package com.bjbn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 设备档案查询请求DTO
 *
 * @author bjbn
 */
@Schema(description = "设备档案查询请求")
@Data
public class IotDeviceArchivesRequest {

    @Schema(description = "搜索条件1索引，1:所属区域、2:建设单位名称、3:管理单位名称、4:维护单位名称、5:所属街道ID、6:所属机构ID, 0:未选中任何条件", required = true, example = "2")
    private Integer firstSearchIndex;

    @Schema(description = "搜索条件1对应的搜索值", required = true, example = "")
    private String firstSearchValue;

    @Schema(description = "搜索条件2索引，1:设备名称、2:设备ID、3:设备编码, 0:未选中任何条件", example = "2")
    private Integer secondSearchIndex;

    @Schema(description = "搜索条件2对应的搜索值", example = "")
    private String secondSearchValue;

    @Schema(description = "搜索条件3索引，1:产品ID, 0:未选中任何条件", example = "1")
    private Integer thirdSearchIndex;

    @Schema(description = "搜索条件3对应的搜索值", example = "")
    private String thirdSearchValue;

    @Schema(description = "搜索条件4索引，1:用户ID、2:APPName, 0:未选中任何条件", example = "1")
    private Integer fourthSearchIndex;

    @Schema(description = "搜索条件4对应的搜索值", example = "")
    private String fourthSearchValue;

    @Schema(description = "当前页", example = "1")
    private Integer pageNow;

    @Schema(description = "每页条数", example = "10")
    private Integer pageSize;

    @Schema(description = "API版本", example = "20230224182603")
    private String apiVersion;

} 